function FindProxyForURL(url, host)
{
    //alert("Local IP address is: " + myIpAddress());
    if (!isResolvable(host)||shExpMatch(host,"*.google.*")||shExpMatch(host,"*.facebook.*"))
    {
        return "PROXY 127.0.0.1:9666";
    }else{
        return "DIRECT";
    }
}
